package com.yiwei.zxp.api.model;

import com.yiwei.zxp.api.bean.ResponModel;

/**
 * Created by xsooy-pc on 18-5-16.
 */

public class UserInfoModel extends ResponModel {


    /**
     * datas : {"icon":"http://xxxxxxxx","username":"111","shop_name":"xxx","phone":"13622660677","realname":"Yeiiow","idno":"123","email":"admin@admin.com","commission":"10099.80","total":"0.00","freeze":"0.00","balance":"0.00","invite_id":"0","invite_code":"00000000","invite_qrcode":"http://img3.dianhuohuo.shop/2018/07/11/2018071115030352720.jpg","isset_pay_password":1,"province":{"id":21,"name":"上海"},"city":{"id":22,"name":"上海市","parent_id":"21"},"district":{"id":31,"name":"杨浦区","parent_id":"22"}}
     */

    public DatasBean datas;

    public static class DatasBean {
        /**
         * icon : http://xxxxxxxx
         * username : 111
         * shop_name : xxx
         * phone : 13622660677
         * realname : Yeiiow
         * idno : 123
         * email : admin@admin.com
         * commission : 10099.80
         * total : 0.00
         * freeze : 0.00
         * balance : 0.00
         * invite_id : 0
         * invite_code : 00000000
         * invite_qrcode : http://img3.dianhuohuo.shop/2018/07/11/2018071115030352720.jpg
         * isset_pay_password : 1
         * province : {"id":21,"name":"上海"}
         * city : {"id":22,"name":"上海市","parent_id":"21"}
         * district : {"id":31,"name":"杨浦区","parent_id":"22"}
         */

        public String icon;
        public String username;
        public String shop_name;
        public String phone;
        public String realname;
        public String idno;
        public String email;
        public String commission;
        public String total;
        public String freeze;
        public String balance;
        public String invite_id;
        public String invite_code;
        public String invite_qrcode;
        public String isset_pay_password;
        public ProvinceBean province;
        public CityBean city;
        public DistrictBean district;

        public static class ProvinceBean {
            /**
             * id : 21
             * name : 上海
             */

            public int id;
            public String name;
        }

        public static class CityBean {
            /**
             * id : 22
             * name : 上海市
             * parent_id : 21
             */

            public int id;
            public String name;
            public String parent_id;
        }

        public static class DistrictBean {
            /**
             * id : 31
             * name : 杨浦区
             * parent_id : 22
             */

            public int id;
            public String name;
            public String parent_id;
        }
    }
}
